added setInterval and clearInterval test