menu: Write tests on templates