test for sync