fixed logout test