Add setTimeout to tests.