CBQE-1495: add test for mb-5641

Change-Id: Icf7a16e64b2fb8eeae725b99651a5df81e9b2c27
Reviewed-on: http://review.couchbase.org/27832
Tested-by: buildbot <build@couchbase.com>
Tested-by: Iryna Mironava <irynamironava@yandex.ru>
Reviewed-by: Andrei Baranouski <andrei.baranouski@gmail.com>