Working towards better utilization of $httpBackend to mock XHR requests.