Fix test for setTimeout with negative wait for older IE