Fix collection of code coverage data for tests that use a data provider