update tests: use document.related_policy_ids