button: Write tests on templates

Close #768 
Дима поправил - https://github.com/bem/bem-components/commit/bbeaacdd61f1503f614797214125f3c1d5318a67