fix(test): fixes setTimeout tests in FF18

fixes #1817
Good eye :eyes: