CBQE-1531: add tests for meta query tool

Change-Id: I7df84dbf967bd425489d0aeba028861701a32521
Reviewed-on: http://review.couchbase.org/29410
Reviewed-by: Ketaki Gangal <ketakigangal@gmail.com>
Tested-by: Iryna Mironava <irynamironava@yandex.ru>