Change test case to test for multiple exceptions in the handlers.