Add tests for the http, part2