CBQE-1928: added test to verify MB-9862

Change-Id: I448a148f9e068c42c0d2addc581e47a4a81b6d99
Reviewed-on: http://review.couchbase.org/33238
Reviewed-by: Pavel Paulau <pavel.paulau@gmail.com>
Reviewed-by: Sangharsh Agarwal <sangharsh.agarwal@globallogic.com>
Tested-by: Sangharsh Agarwal <sangharsh.agarwal@globallogic.com>