Completed testLogout().