CBQE-1294 Fix view query tests

Change-Id: I802ecef9cf590f402bd04a6b47cbcad898cbd58c
Reviewed-on: http://review.couchbase.org/26320
Reviewed-by: Deepkaran Salooja <deepkaran.salooja@globallogic.com>
Tested-by: Deepkaran Salooja <deepkaran.salooja@globallogic.com>