Fix ErrorReportingRunner to not accept a null class (fixes #177)

null check for test class in ErrorReportingRunner