basic tests $http: factories