correction + ajout tests