Fix broken unit test

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