add unit testing for account module, fix deps