Unit test updates to reflect API changes

Change-Id: If0a19a942361ef02c43a24f03131d2932bb3dfb9
Reviewed-on: http://review.couchbase.org/42391
Reviewed-by: Matt Ingenthron <matt@couchbase.com>
Reviewed-by: Jeffry Morris <jeffrymorris@gmail.com>
Tested-by: Jeffry Morris <jeffrymorris@gmail.com>