Made test stable in IE8 #12406

Change-Id: If109cb760534b7d50d310b49c8a2cef86192fcca