Fixed ES6 string shims. Added tests for ES6 string methods.