Added unit tests for HttpServer