I tried to write the test in such a way to assert the content matched what we expected, but since the ordering of them is not known, it is quite tricky to write.