rename expectEqualsArray to expectEqualsSet,
add test for synchronizeSet
implement synchronizeSet