test end of stream for decoder API UT
Merge pull request #1250 from huili2/test_EndOfStream

test end of stream for decoder API UT