Added sleep search to the tests