logout test finish