Update client.py

Update tests for recursive _to_python.