Added some test functions for macros.