Fix tests on node v0.11.x.

Turns out the `ontimeout` property no longer exists on the object returned by `setTimeout()` in `node` v0.11.x.