error response deserialization tests