Make test robust to order of items in list.