Add test coverage with pytest-cov.