Add test that batches returned from iterator are consistent with topo