tests: use file kwarg to call coverage report