add test to assert that path is available during iteration and update associated logic in HistoryIterator, LoopPipe and AbstractPipe to allow this to work