CBQE-1294 Fix view query test

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