Add one more wait in tests