button: Write tests on templates