Fixed unit tests

Change-Id: Ic1ee5f0c35d5f971915b9469edc170e95235a498
Reviewed-on: http://review.couchbase.org/41722
Reviewed-by: Jeffry Morris <jeffrymorris@gmail.com>
Tested-by: Jeffry Morris <jeffrymorris@gmail.com>