[DebugBundle] add tests for twig and for the bundle