@Test
public void testIsDefault() {

    Account a = Account.fromAddress(ADDRESS);
    Wallet wallet = Wallet.createWallet().addAccounts(a);
    assertFalse(a.isDefault());
    wallet.defaultAccount(a.getScriptHash());
    assertTrue(a.isDefault());
}