reformat the test case