Format test result summary.