Fixing permutation-based test.