More stringent result checks in TestCase.
New test cases.
Additional improvements in test run script.