Add test summary and failed test reporting.