Scan batch creator
Fix issues, test now runs against a CouchBase instance running on localhost.