input: Write tests on templates