test changes

We should use this instead for signaling completion:
```js
mockPromise.then(function() {
// ...
}).then(done, done);
```