tests: capture stdout
tests: don't use pkexec