python3 test fix