Fixed typo in CompositeDynamicObjectCollection and DynamicObjectCollection
Added test for removeObject in DynamicObjectCollection