test coverage for twig extension