Convert TEST_if_f tests from code to data.