add more waiting in testcase