MB-100: CBSE-399: add a test for repro cbse-399

Change-Id: Ibab4955b6c06f5d7d48d66a5ef9d280c90c82f4b
Reviewed-on: http://review.couchbase.org/25126
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Iryna Mironava <irynamironava@yandex.ru>