test for log out