Refactored objectmerger into CompositeObject
Added testing for CompositeObject