improve CookbookController tests