improve make_stream_item/make_stream_time time handling

(with unit tests)
improve a flakey chunk test.