Improve test coverage of HTTP API

`make` is a key work in go. and it creates a instance of "object" not the pointer to the "object". Like make(slice), make(chan). mustNewURL seems to be a better name.