Adding test for logout