Add test for using a released MediaPipeline

Change-Id: Ide90198e6228418521174087afbe94943ff8e05b