Improved a test on lucene compiler