smart subtitles + unit test