Added test for twig extension