[#29] Reproduce problem with stdout and stderr in 2.0 branch

Reproduce #29.