add test for user validation
Merge branch '4787_missing_validation_on_user'