Fix tests in old IE.
Avoid fails for workers when testing in Sauce Labs.
Simplify test condition.