Fix test exec under oldIE