Added timeout for tests.