PCBC-219 Added testcase

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