Add: Acceptance test for matching unresolved variable

Ref: https://dev.cfengine.com/issues/6519
The test would be more convincing if you also had
```
   "foo" string => "bar";
   "expanded_value" string => "includes $(bar) expanded";
```
and also tested your regex against `$(init.expanded_value)`.