fix python3 test