adding permutation rtest