Validation and

Add some validation test on the model
Modificate some test validation in fonctionnale
Create some units test for the model