Added validation tests for the User model