well, rather you should do that in a setup() function :

```javascript
setup(function(done) {
  MessageManager.getThreads(ThreadListUI.renderThreads, done);
});
```