Implement iterable test

This implements the ``iterable`` test.

In addition, it checks for the ES6 iterable functions on passed in values.