Add logout tests