Add test coverage for the HTTP layer.
Add test coverage for the HTTP layer.