Tests that the MediaSource is closed when the HTMLMediaElement is destroyed.