logout tests