Added a tox file, for tests
Python 3 compatibility