Refactor TestHttpServer from object to class and introduce withServer{server =>} block
Remove println