a skeleton of HTTP API unit test