Move tests to decodings permutations