added a test for ssh logout