changed wait for testcase