Fix unit test to use lucene index