added capture_subprocess function
rename tests -> test
make lint happy again
improve coverage: remove dead code
pytest-xdist + pytest-cov working