add more complex test for sync