Added some tests for the macro utilities.