adds test for logout