Permutation tests on a List