Tests for sync