More test units
Added a unit test for length, and a validation in the model