reformat output of test results