Refactoring des tests