Added logout tests.
Added logout tests.