Minor tweaks + more tests for perm del/revrt