Add functionality and test input files for Config class.