workaround for exceptions being raised on the main thread and therefore not reporting test failures in combination with some other frameworks