tests: Add code coverage for Python.