Adding tests for logout.