checkbox-group: Write tests on templates

Close #776