Increase test timeout to 5 minutes.

Some tests takes a little while and don't produce any output.