Created IAccountService. Improved FrontendTest.
Fix #5