add tests for building Lucene search query strings with query DSL