HSEARCH-1309 Making sure that the current test class is passed to getIndexDir. If TestConstant gets used as a test dependency it won't be in the classes directory, but a jar dependency