uses -test.timeout instead of time.After for test runs.
"go install" and "go test -c" can be trusted not to hang or deadlock.