aggregate test failures and print a summary after running tests