trying to mock http backend