added a little bit of waiting time to two test cases.