Refactore test.phtml to historique.phtml