I'm not sure if you need to test this. You only need to check that `fit_transform` works. If it works, then grid search should work too, if the tests in `test_vectorizer_pipeline_grid_selection` pass. Ideally, each test should check for some specific parts of the code in isolation. Otherwise, the tests will become slow and hard to maintain.