adds support for coverage testing, finally (probably)