port es5-shim trim tests