code: def test_with_special_tokens(self):
      vectorizer = CountVectorizer(
          max_doc_freq=2, min_doc_freq=1, max_features=1
      )
      vectorizer.fit(self.docs)
  
      new_vocab = Vocabulary(
          vectorizer.vocab.idx2tok, use_special_tokens=True
      )
      vectorizer.vocab = new_vocab
  
      sequences, X = vectorizer.transform(self.docs)
      npt.assert_array_equal(X.A, np.asarray([[0], [2], [0]]))
  
imports: import unittest
  from collections import defaultdict
  import numpy
  import numpy.testing
  from cornac.data import TextModality, ReviewModality
  from cornac.data.text import SPECIAL_TOKENS, DEFAULT_PRE_RULES, BaseTokenizer, Vocabulary, CountVectorizer, TfidfVectorizer
label_desc: Use image node_id 5 for calling the TestCountVectorizer obj's underlying member method code with example usage: obj.test_with_special_tokens() without return types