Added testcases for HttpServer