wait in test