Redmine#4025: add acceptance test

See https://cfengine.com/dev/issues/4025

Note the test is not staged.