refactored logout test.