Promise mocking for angualr