unit tests for config file, currently code coverage is 50%
added more test cases, coverage is not 67%