This commit adds better reporting of uncaught errors in top level scope of testing files. This change affects both console runner as well as LSP runner.