Added tests for validation for users.