made tests pass in IE8