Enable tests of complete Elasticsearch query.

Until now we were able to test only parts of the Elasticsearch query. Now we can test complete queries too.