Added a testing function to coeffnd-perm