fixing issue with reporters not exiting with error code when there were tests that failed