radio: Write tests on templates

Close #781