Completes tests for code maintaining PermissionAncestor data.