Modernize ExceptionReportingTest