Fixed some methods of different account classes. Added unit tests