Test 'ended' event by:

  1. Playing to the end.
  2. When 'ended' event fires, seek to 0.
  3. Verify that 'ended' event is not fired again.