Migrated test output processing to run-cabal-test.sh