@Test
public void testUpdatePlaylist() throws Exception {

	Playlist db = playlistService.createPlaylist(new Playlist("d1"));
	playlistService.updatePlaylist(db.getId(), new Playlist("d2"));
	assertEquals("d2", getPlaylist(db.getId()).getName());
}