Fixed the lucene seach test