Adding test case for HttpRequest