Add tests for srt and sjson formats.