Adding more tests for the stdout/stderr cases