wait until test server is ready in test setup