Fixing issue #499

* Prior to version 1.4.1 the output of a macro could be assigned to a variable
  with "set" - this restores that bahavior.
Prepending the test with the issue number
Merge pull request #502 from logie17/master

Allow macro output to be assigned via `set` tag. Fixes gh-499