link: Write tests on templates