Wrote SegmentPackageWrangler.apply_view() tests.