CBQE-0: fix tests tuq with over clause

Change-Id: I2e9769e2730a60231ddecbb49ae41c85c8d300a4
Reviewed-on: http://review.couchbase.org/29713
Reviewed-by: Iryna Mironava <irynamironava@yandex.ru>
Tested-by: Iryna Mironava <irynamironava@yandex.ru>