You don't have to call done. You can just return a promise:

```
return db.bulkDocs(docs).then(function () {
  // test
}).then(function () {
  // and so on
});