Added some sleep to some testcases