angular mocks causing issues