Use time waits in test.