Reformat test data