Fix failing test

The test should not make assumptions about the order of elements in a Set