streamiddemux: fix list and event leaks in test
streamiddemux: fix list and event leaks in test

https://bugzilla.gnome.org/show_bug.cgi?id=765903

StreamUtils/gstreamer,StreamUtils/gstreamer,StreamUtils/gstreamer,StreamUtils/gstreamer,StreamUtils/gstreamer