Extended the test for HttpComponent