rudimentary syncing mechanism and associated tests