PLD: more tests for perm util, closes #575