Improve test coverage of HTTP API

remove this empty line please :)