better reporting in case tests fail

Show the number of errord and failed tests.