Fix test for BaseIndexerTest caused by commit ad6e5f5