use assertArrayEquals(expected, actual) instead of assertTrue(Bytes.compareTo(actual, expected) == 0)

I did the change using regex search and replace, and tests pass.

My hope is that tests will be easier to read, assuming you weren't calling Bytes.compareTo for some special magic.