CBQE-2000: added test to verify fix for MB-10116

Change-Id: Ic03edf701aa2571f55fee6d95647dd6636fdd657
Reviewed-on: http://review.couchbase.org/33593
Reviewed-by: Sangharsh Agarwal <sangharsh.agarwal@globallogic.com>
Tested-by: Sangharsh Agarwal <sangharsh.agarwal@globallogic.com>