test playlist func