refactor testing
more tests and better tox automation