Fix test: related_policy_ids expect policy ids not documents