Made the Mock class iterable