fix firefox test issues