Tests: replace arraysEqual with tape's deepEqual.

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