added a test for model.Category.example(cls)