Add the remaining unittests to the ClientWrapper class

This patch also pep8-fy the imports in the test_client_wrapper.py.

Closes-Bug: #1316549
Change-Id: Iaf154886c5c05f94ac045fbc99f93915bb91c878
Merge "Add the remaining unittests to the ClientWrapper class"