baseparse: Add unit test for short reads
Before the previous commit, buffer pulling count and chain function call counts are not equal due to EOS. After the modification, these counts are equal so unit test is passing. gstreamer/gstreamer!33 gstreamer/gstreamer#294