Reused logic from FieldsMacro in TagMacro. Created a Spec for TagMacro.

Fix for issue https://github.com/CommBank/maestro/issues/219 
Same comment as above.