Cleanup tests.
Fix tests in old IE.