Added save method to the config mock