logout test correction