Correcting test to expect the exception being serialized back to the client.