float-format: Convert tests to Autotest framework.