This is tested in the main suite

https://github.com/pouchdb/pouchdb/blob/master/tests/test.replication.js#L474