Fix py3 binary with binary test
Fix remained py3 tests