(#5717) - fix use of bulkDocs in selector tests

The tests were sending a single document containing
{ docs: [] } instead of an array of documents. This commit changes
the tests to insert multiple documents as intended.
diff --git a/tests/integration/test.replication.js b/tests/integration/test.replication.js
index bc3c1e1..8d4da3d 100644
--- a/tests/integration/test.replication.js
+++ b/tests/integration/test.replication.js
@@ -4181,7 +4181,7 @@
         {_id: '2', user: 'foo'},
         {_id: '3', user: 'bar'}
       ];
-      remote.bulkDocs({ docs: docs1 }, function () {
+      remote.bulkDocs(docs1, function () {
         db.replicate.from(remote, {
           selector: {'user':'foo'}
         }).on('error', done).on('complete', function () {
@@ -4212,14 +4212,13 @@
         {_id: '4', integer: 4, string: '4'},
         {_id: '5', integer: 5, string: '5'}
       ];
-      return remote.bulkDocs({docs: thedocs}).then(function () {
+      return remote.bulkDocs(thedocs).then(function () {
         return db.replicate.from(remote, {selector: 'foo'});
       }).catch(function (err) {
         err.name.should.equal('bad_request');
         err.reason.should.contain('expected a JSON object');
       });
     });
-
   });
 });