implement test for undeletable used categories