update testing with tox and pytest
python 2.6 compatible tests