Set default parentId to null (usefull for slice with no parentId)
Added test & fixed stream creation
Merging