tests & setup.py; fix python 3 usage