Add client to TestCase.
PEP-8 fixes.