test against new es6 features
checking for type array instead of not null
the reason we're doing this is because ES6 Arrays
will have a Array.prototype.values() function.

thanks @tsteur for catching this in #33