Patch up the tests to detect goroutine failures.