Implements Iterator interface for mapper
Type of object and tests