Cleaned up the errors in assert-exception.