fix TemplatedComponentTest failure -  mock copy() for ConfigurationDefinition mock