tests: Convert REGRESSION tests to Autotest framework.