     chunk_duration      = 1000
     segment_duration    = 10000
 
-    start_ts = new Date(1415290170623)
-    #start_ts = new Date()
-
-    # If our start_ts falls exactly on a segment start, we need to give a bump
-    # to expected segment counts where we're going backward and forward
-
-    seg_bonus = 0
-    start_sec = Math.floor( Number(start_ts) / 1000 ) * 1000
-    if Math.floor( start_sec / segment_duration ) * segment_duration == start_sec
-        seg_bonus = 1
-
-    console.log "Start ts is ", start_ts, seg_bonus
+    start_ts = new Date()
+
+    # to make life easy to reason about, we'll put start_ts on a segment start.
+    start_ts = new Date( Math.round(start_ts / segment_duration) * segment_duration )
+
+    console.log "Start ts is ", start_ts
 
     #----------
 


                done()

            generator.forward 20, -> generator.skip_forward 10, ->
                generator.forward 10, -> generator.end()

        it "will use a segment map to assign sequence numbers", (done) ->
            f_seg = injector._createSegment start_ts

            injector.pipe(finalizer)

            finalizer.on "finish", ->
                expect(finalizer.segments).to.have.length.within 4,5

                if finalizer.segments.length == 4
                    expect(finalizer.segments[ finalizer.segments.length - 4 ].id).to.eql 5

                expect(finalizer.segments[ finalizer.segments.length - 3 ].id).to.eql 6
                expect(finalizer.segments[ finalizer.segments.length - 2 ].id).to.eql 7
                expect(finalizer.segments[ finalizer.segments.length - 1 ].id).to.eql 8

                done()

