added test for getPlaylist