Assert that cookbook.NewCookbook is not nil