Put coverage testing back

This reverts commit 9a33538397e2f55dcbd389d0eac86dcc588c2899.
fix coverage testing (thanks Matthew Horsfall!)