Log exceptions on tests run with test-in-console.

Also counts exceptions as failures and removes unused finished var.