Refactored test.
Changed PlaylistsResource.java playlists ServiceException handling and added tests.