Added ability to save playlists; changes in tests