add test for composite sub in inline pass macro