Added a delay to the tests