Adding missing setting of responseIsValid
Fixing testThatJSONResponseSerializerReturnsErrorForInvalidJSON