Add simple unit test. Add tox configuration and ensure it works under py2.7 and py3.3