@Test
public void testGetEncoded() {

    String expected = "f85e809"
            + "a0100000000000000000000000000000000000000000000000000"
            + "a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421"
            + "a0c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470";
    AccountState acct = new AccountState(BigInteger.ZERO, BigInteger.valueOf(2).pow(200));
    assertEquals(expected, Hex.toHexString(acct.getEncoded()));
}