Add unit test for HTTPResponse.