Mock $httpBackend for E2E testing