Model User validation and unit tests