attach: Write tests on templates
Merge pull request #794 from bem/issues/774@v2

attach: Write tests on templates