Refactor segment_walker_spec
SegmentWalker now accepts segment argument in opts hash