tests: capture stdout
tests: don't use pkexec
tests: correctly calculate combobox/textbox pair