refactor test report.