tidying up template structure and adding a spec test to verify the structure of new nodes