Made unit tests fail on uncaught exception