text: Title: Update the tests so that they run pytest (move to "meta-testing")
  Body: Basically we should copy what is done in [pytest-harvest](https://smarie.github.io/python-pytest-harvest/). Note that the continuous integration configuration should also be updated so as to run the correct matrix of pytest version x python version