Refactoring des tests.