Test cookbook category error cases