test db.replicate.to(remoteDB,options) - remoteDB down

Test fails with: "TypeError: undefined is not a function"
callback at 
https://github.com/pouchdb/pouchdb/blob/master/lib/replicate.js#L492
is undefined.