Added phpunit to dev dependencies.
Added test for TwigExtension.