tests: Convert FILE HANDLE tests to use Autotest.