Added logic to AccountService and AccountServiceTest for simple example.