made a macro for creating mock objects. -James