Extended testsuite processing. Now capture failures in setup and cleanup code blocks of test cases. Fixed handling of test case result blocks, preserving empty lines and trailing whitespace.