Use `assert` in `checksum-constructor.t.js`.

See #351.