Fixed test for DynamicObjectCollection