Test updating a category with invalid data shows an error