Sequential Permutation Test