'Save the config and ensure it still works.'

def testSave(self):

    conf = config_lib.GrrConfigManager()
    config_file = os.path.join(self.temp_dir, 'writeback.yaml')
    conf.SetWriteBack(config_file)
    conf.DEFINE_string('NewSection1.new_option1', 'Default    Value', 'Help')
    conf.Set('NewSection1.new_option1', 'New    Value1')
    conf.Write()
    new_conf = config_lib.GrrConfigManager()
    new_conf.DEFINE_string('NewSection1.new_option1', 'Default    Value', 'Help')
    new_conf.Initialize(filename=config_file)
    self.assertEqual(new_conf['NewSection1.new_option1'], 'New    Value1')
