Fix tests

Dirty string comparison in asserts.

Should probably also move to `mocha` instead of `ava`, seems to be deprecated.


```sh
$ node test.js

  ✔︎ [anonymous]

  ✔︎ 1 test passed
```