Useful error handling for test runner.