Sync - tests - fix bug in test