Tests that we don't crash when a media element that has text tracks is destructed.