macro test cases