Add tests and tox.ini

This adds a couple of tests and a `tox.ini` to execute them with `tox`.