test for macro functions