Working tests for HTTP server