Updated JUnit tests for account.