acceptance test for issue #4070

Acceptance test intended to detect any regression to behaviour seen in issue #4070
https://cfengine.com/dev/issues/4070