Ensure we test both setTimeout and setInterval (and their cancellation methods), and test scenarios such as raising exceptions in the callback, passing extra arguments, etc.