new set of unit tests for the object macros