fix sahara base class

1. get client mamager after service available checking
2. checking cls's attribute in tearDownClass to avoid
   exceptions

Change-Id: I596284dceadcb5f0144495bd346d570c6bb35e0f
Merge "fix sahara base class"