@Test
public void testQuantityDecodeLeadingZero() {

    assertThat(Numeric.decodeQuantity("0x0400"), equalTo(BigInteger.valueOf(1024L)));
    assertThat(Numeric.decodeQuantity("0x001"), equalTo(BigInteger.valueOf(1L)));
}