#3 correcting permutations test string