Fix test for all group permutations