Before revision:  The test is presented as a permutation test, which ensures that in a finite sample , the true and nominal probabilities of rejecting a correct null hypothesis are equal.
After revision:  It is implemented as a combination of two permutation tests. This ensures that in a finite sample , the true and nominal probabilities of rejecting a correct null hypothesis are equal.