change exception handle in test runner.