add tests, move twig render template action to bridge.