Use macros in tests