tests: Convert IMPORT and EXPORT test to use Autotest.