Fix python binding tests
6 files changed