test with null, and test empty stream
support empty null
1.1.0