Promise state tests