unit test for generating media playlist and iframe playlist