I would check that also one error is dispatched. Like in `test-deprecate`;

```js
assert.equal(messages.length, 1, "only one error is dispatched");
assert.ok(messages[0].indexOf('curry is deprecated') > -1);
```