adding unit test for Account service + fix a couple of bugs in account service itself =