Use `assert` in `t/basics/key.t.js`.

See #351.