Add proper test for macro expansion