Fix python SDK test suite issues.