Add tests for HTTP