Acceptance test for bug #3852.

Draft acceptance test for Redmine bug #3852, as per request by Ted Zlatanov in the comments.

See https://cfengine.com/dev/issues/3852