unit tests for config file, currently code coverage is 50%