Added logout tests