This should be refactored as test twig helpers ... for a next PR