codegen, tests/macro: get limited form of macros working