added some sleep to 2 testcases