Add tests for playlist

* Refactor conditionals

* Use Rspec3 new ‘stub’ syntax: receive_messages