Added method and test for parsing playlists