@Test
public void testToIntegerBytes4() {

    ChangeLogStore clogStore = new MockZMSFileChangeLogStore("/tmp/zts_server_unit_tests/zts_root",
            pkey, "0");
    DataStore store = new DataStore(clogStore, null);
    final Base64.Encoder encoder = Base64.getEncoder();
    final String encodedInt4 = "ctA8YGxrtngg/zKVvqEOefnwmViFztcnPBYPlJsvh6yKI"
            + "4iDm68fnp4Mi3RrJ6bZAygFrUIQLxLjV+OJtgJAEto0xAs+Mehuq1DkSFEpP3o"
            + "DzCTOsrOiS1DwQe4oIb7zVk/9l7aPtJMHW0LVlMdwZNFNNJoqMcT2ZfCPrfvYv" + "Q0=";
    final BigInteger bigInt4 = new BigInteger(
            "80624726256040348115552042320" + "6968135001872753709424419772586693950232350200555646471175944"
                    + "519297087885987040810778908507262272892702303774422853675597"
                    + "748008534040890923814202286633163248086055216976551456088015"
                    + "338880713818192088877057717530169381044092839402438015097654"
                    + "53542091716518238707344493641683483917");
    assertEquals(encodedInt4, new String(encoder.encode(store.toIntegerBytes(bigInt4, true))));
}