Fixed bug during sync
Added more tests