Refactored out 'testResponse()'.