Python3 fix for funtests