Add test for variable expansion in meta attribute

Ref: Redmine:4885 (https://cfengine.com/dev/issues/4885)
Merge pull request #1563 from nickanderson/redmine/4885

Add test for variable expansion in meta attribute