radio-group: Write tests on templates

Close #782