Added test cases to AccountServiceTest.