MB-8478: Fix minor unit test failures

There were some errors generated for very minor test case things
that are fixed in this commit.

Change-Id: Ica8bc79f81e2b56d1545a7e5c720cef3554c8e07
Reviewed-on: http://review.couchbase.org/26977
Tested-by: Michael Wiederhold <mike@couchbase.com>
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>