icon: Write tests on templates

Close #759 
свяжи с https://github.com/bem/bem-components/pull/763