Added test for TwigExtension getCompilerPasses method