Add unit tests and examples for Spotify

#295