db_total.should.equal(remote_total, 'replicated all docs successfully');