Tests: replace arraysEqual with tape's deepEqual.

Turns out deepEqual can compare typed arrays, so use it instead of our
custom comparison function.