Fixed python 2 and 3 compatibility problem, again!
Added tox.ini file to use tox test tool

about tox: http://testrun.org/tox/latest/