Improve python3 testing