format ap_tests object