Adding random permutation test