Make sure stage is ready in test.