Fixed: Bug in test code for category.