refactors macro tests
tests for untyped macros