tests: fix leaks in rtpjitterbuffer unit test and fix generic/states test for gtk sinks
requested to merge tpm/gst-plugins-good:tests-leak-fixes-and-states-test-fixes-for-gtk-sinks into master
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.