Fix unit test.
Seems LinkedHashSet and TreeSet are incompatible .equals() methods.