ecrans admin tests + refactoring