tests: capture stdout