Extend util.DepMapper by Iterable interface and add some tests.