test and fix bugs in ConfigNode