[#98] added tests for logging out