Add tests for getPlaylist