added test for config, fixed set not effect the property problem