added tests for QueryManager (not working with ElastiSearch driver yet)