add stateMock module to mock $state in unit test. ui-router conflicts $httpBackend when original $state service is injected.