Fix calling of python 3 for tests