Added account manager unit tests.