added test code for playback via intents