fix issue with  tests for tinyEitor and FF browser