Adding some tests for user account, switching, etc.
Merge pull request #527 from khawkins/account_manager_tests

Adding some tests for user account, switching, etc.