Deleting the timer once interval has been cleared
Adding tests for internal methods