Migrate Promise tests