Unit tests for ConfigFile and config functions