Fix weakmap test in data-es6.js