private boolean findMatchingGoogleAccountWorksAfterRenamingFor(TestAccount t) {
    addTestAccount(t);
    AccountIndex index = index("CustomName", t.getIssuer());
    accountDb.rename(t, index.getName());
    try {
      return index.equals(accountDb.findMatchingGoogleAccount(t.getName()));
    } finally {
      accountDb.delete(index);
    }
  }
Note: caller should carefully determine the expected value of {@code isGoogleAccount}, which
is affected by multiple factors.

@param isGoogleAccount is a {@code boolean}, not a {@link Boolean}
javatests/com/google/android/apps/authenticator/otp/AccountDbTest.java