Test coverage for trying to mutate a managed object used as a rule input

+review REVIEW-5321