added playlist_t struct
updated test