Test that playcount attribute causes playback to end after right number of repeats.