call pytest with python3 -m
This runs pytest as
```sh
python3 -m pytest  # ...
```
This allows running the tests in a venv. (Otherwise, if pytest is not installed in the venv, it falls back to the system pytest, leading to some surprises down the road.)