spin: Write tests on templates