Fixed the VOD playlist type check
Added tests for EXT-X-ENDLIST