testing httpProvider