fixed failing test for sync