Add logout to test.