Fix tests on ie9