Make `python setup.py test --coverage` work with affiliated packages
Merge pull request #2132 from mdboom/testing/coverage-in-affiliated-packages

Make coverage testing work for affiliated packages