Improve test.

Add timeout to download test.