add acceptance test for #3643

Acceptance test for 3643 - reworked to use G.testdir and sys.cfengine