Add tests also for csv templates