introducing tox and fixing tests in python 3.3