Added setTimeout test