Testing with HTTPResponse object