add filtered query test from lucene