HSEARCH-1619 Using TestConstants.getIndexDirectory(Class) to determine the index directory