Add exceptions for testing.