test edit, checking write perms