Working on mocking $httpBackend to better simulate tests.