attempt at simple $http mock testing