ObjectManager: Register objects at run time; tests