Restoring cookbooks for foodcritic tests