Added path permutation tests.