update tests for config package
fix bugs in ConfigNode