update test case for sync