Add some tests on macros