added unit tests for config file reading.