fixed test testRevokeOfClassPermissions