template was missing an icon

fix it and added a tests