tests: make tests work on IE8