Fix Python SDK test suite issues.