Added more Junit tests for AccountDialog.java.