added characterization tests for doLogout.