Added unit tests for config file handling.