Logout test case