Fix failure in exception_static_test.