add zero-write stream test