Separate stdout and stderr available in tests.
 - Introduces new variables:
   $output_stdout, $output_stderr, $lines_stdout, $lines_stderr
   Existing `$output` and `$lines` variables remain.