Use tox for local testing

Some of the tests fail for me when I run them locally, so I can't make sure this works.