                 done()
 
         it "gets bytes sent correct", (done) ->
-            expect(session.bytes).to.eq sent_bytes
+            expect(session.kbytes).to.eq sent_kbytes
             done()
 
         it "gets duration sent correct", (done) ->

                    type:       "listen"
                    client:     START.client
                    time:       new Date( start_time + i*10*1000 )
                    bytes:      300000
                    duration:   10.0
                    stream:     "test-256"

                listens.push listen
                sent_dur    += listen.duration
                sent_bytes  += listen.bytes
                last_ts     = listen.time

            lFunc = (cb) ->


                    expect(totals).to.be.object
                    expect(totals.duration).to.eq sent_dur
                    expect(totals.kbytes).to.eq sent_kbytes
                    done()

            it "selects last listen correctly", (done) ->
