Added basic test for login manager