I don't understand why we need to check something like this in the tests. We should know the output type of the CountVectorizer fit_transform, shouldn't we?