Stop test server in endpoint unittest.

HTTP test server need to be stoped.
http://golang.org/pkg/net/http/httptest/#Server.Close