test StreamItemWritable