Test ended by:
Play streamed media.
Verify that the 'ended' event fires upon finishing the playback.