reformat test file