@Test
public void bigIntegerToBytes_paddedSingleByte() {

    BigInteger b = BigInteger.valueOf(0b0000_1111);
    byte[] expected = new byte[]{0, 0b0000_1111};
    byte[] actual = Utils.bigIntegerToBytes(b, 2);
    assertTrue(Arrays.equals(expected, actual));
}