unit test for config values and minor fix to config values