add tests, tox and travis