Add a functional test to log out
Clean a view