added basepath to stream playlists path
refactored test for extract_chunks