Tests that the 'change' event is fired when a TextTrack's mode changes.