Fixing coverage tests.

@wenns Trying to fix the coverage tests on windows