Adding append and prepend methods and unit tests to the Config class.