TODO: test db configuration changes. There're problems clicking on the QMessageBox.
to run them: pytest tests/ They dould be integrated with a github action.