switched mock_response helper back to authors original flow