Add test for twice function Invocation In Macro