Allows to expect a promise when creating an item