CBQE-1790: add test for MB-9763

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