add logout method in test base class