add venv helpers
fix tox stuff and move tests outside of module