Added unit test for HttpRequestEngine