Normalize byte arrays for comparison.

All tests pass.