This looks pretty strange. I'd rather have it like this:
```
...
}).then(function (res) {
  res.rows[0].value.should.be.true;
}).then(cleanup);
```