fix update perm tests, do delete perm tests