Acceptance test for matching unresolved variable

Ref: https://dev.cfengine.com/issues/6519