'Check we can copy a config and use it without affecting the old one.'

def testCopyConfig(self):

    conf = config.CONFIG.CopyConfig()
    conf.initialized = False
    conf.DEFINE_string('NewSection1.new_option1', 'Default    Value', 'Help')
    conf.Set('NewSection1.new_option1', 'New    Value1')
    conf.initialized = True
    conf.Write()
    self.assertEqual(conf.Get('NewSection1.new_option1'), 'New    Value1')
    self.assertEqual(config.CONFIG.Get('NewSection1.new_option1', None), None)
