adapt test suite to latest client code

* fix run_tests
* add tox.ini
* cleanup/update requirements
* fix coverage reports
* add pypi badge
make tests pass & fix pep8
Merge remote-tracking branch 'kali/feature/ci-ready' into develop