for lucene test cases