refactor syncer tests and add some new ones