added additional macro unit test cases