Fix test errors

The tests passed locally with the `tox` command.
Can you try to add it to the local.py when that file is written in `tests/__init__.py` then?