fix sync scope test