elementfactory: fix factory leak in test
elementfactory: fix factory leak in test

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

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