Upgrading dependencies and more tests for templates.