Error reporting for when listing tests takes forever

I also had to increase timeouts for some seemingly unrelated tests because
otherwise their listing would time out.

Before this, the test just timed out.