logout unit test