Extended test for CompositeConfig
Small optimization in CompositeConfig