Use `assert` in `t/binary/serialize.t.js`.

See #351.