Uniqueness test for the permutation() method