scripttest: fixes for python 3
pyTuttle: fix numpy image conversion for python 3