Tests categorization.