improve tests and add socialLinks twig function