Added test for Logout