bugfix: test master/slave sync should use uniq key