Update client_tests.py

Redefinition sys module