Fix TestException.