attach: Write tests on templates

Close #774 
`30-simple-content` -> `30-content`