account manager with tests