Added some tests for macros.