Refactored integration tests + Logout