Improve test coverage of HTTP API

ok