added a test for the logout command