Add util macro unit tests