Adding unit tests for MutateConfigFile