Support different stdin and stderr expectations in test script.

Issue #104.
Adjust test cases for stderr.

Issue #104.
Testcase counter fix.

Issue #104.