fix syncing tests