Format test results