Adds tox testing
Fixes test failing on Python 3