Removed the redundant Http class and merge it into the Api class
Tests written for the API class
Added condition to ignore protected function from code coverage analysis as protected functions don't need to be tested