document the key permutations tests with inline comments