Added unit tests + write support for IterableObject.