Fixed cryptic error message on test failure due to uncaught exception.