fixed cli tests

Change-Id: I8792aae5c30e45e3c5822fd39a779b3293e5b9e0
Reviewed-on: http://review.couchbase.org/39398
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Ashvinder Singh <ashvinder@couchbase.com>