fixes #177

null check for test class in ErrorReportingRunner