Added regression test for #1340.

Child process must produce > 4096 bytes on STDERR (e.g., a large PHP backtrace).  For parity/completeness, do the same for STDIN and STDOUT.