testIllegalDimChangeViaAddIndexesDirectory