adds lucene segment stream
adds additional stream tests. fixes stream bug on read

adds additional stream tests. fixes stream bug on read