test init promises