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

See #351.