tests: fix default_settings_path
tests: fix default_settings_path

Restore `chdir` after tests.

This is relevant for when pytest-cov would display coverage in the end,
and would use absolute paths due to this.

PyCQA/isort,PyCQA/isort