add validation tests for user model
Merge pull request #1 from AAlvAAro/user-model-unit-tests

add validation tests for user model