Add optional  param to BaseAggregationTest::_createIndex()