Fix tests using httpBackend