add tests for SpotifyServiceFactory