Add testcase for MB-10114

Change-Id: I35b7558f9cef549a5658f692d4ca467a6f4d59eb
Reviewed-on: http://review.couchbase.org/33321
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>