Use cmp_bag instead of worrying about sorting in tests.