Revert "Revert "complete test part v1.0""

This reverts commit 452d9419cdd5af83f0ee8f0904aa90a069f6d51d.
add a new test

test the logout