Fix ES6 iterator test