Fixed test. Output permutation.