@Test
public void testEncodeListHeader(){

    byte[] header = encodeListHeader(10);
    String expected_1 = "ca";
    assertEquals(expected_1, Hex.toHexString(header));
    header = encodeListHeader(1000);
    String expected_2 = "f903e8";
    assertEquals(expected_2, Hex.toHexString(header));
    header = encodeListHeader(1000000000);
    String expected_3 = "fb3b9aca00";
    assertEquals(expected_3, Hex.toHexString(header));
}