Fix exceptions_test.cpp.