fixed AllGatherObject.C macro test