tests: Add test for a crash with the settingsdialog and windowmanager