automate setTimeout housekeeping

@zaach, @vladikoff - wanna have a look?

fixes #1010 
If the assertion fails the test will hang, so we need to do the `wrapAssertion` dance here.