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