I am not using the class `Twig_Extensions_Extension_Text` directly, but just testing the function on which it relies. So, as I do not instanciate the class, its file won't be loaded automatically. Thus, the only solution is either to require this file or to add a  `new Twig_Extensions_Extension_Text();` which would be never used. I prefer this solution. What do you think?