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

Fix for issue https://github.com/CommBank/maestro/issues/219 
i just overlooked that one, will fix it.