fixed cbdocloader tests

Change-Id: Ie9eba97c994839be37858b7f2edfac0be4ed7058
Reviewed-on: http://review.couchbase.org/41233
Reviewed-by: Thuan Nguyen <soccon@gmail.com>
Reviewed-by: Ashvinder Singh <ashvinder@couchbase.com>
Tested-by: Ashvinder Singh <ashvinder@couchbase.com>