Add tox.ini and setup.py for tests

Initial commits for doing testing via tox and pytest.