@Test
public void testCompactEncodeEvenCompact() {

    byte[] test = new byte[]{0, 1, 2, 3, 4, 5};
    byte[] expectedData = new byte[]{0x00, 0x01, 0x23, 0x45};
    assertArrayEquals("even compact encode fail", expectedData, CompactEncoder.packNibbles(test));
}