Change test to login and logout test