simple unit testing for acct mgr