fix(test): fixes setTimeout tests in FF18

fixes #1817