Add test for variable expansion in meta attribute

Ref: Redmine:4885 (https://cfengine.com/dev/issues/4885)