Tests: capture all output