Added tests for validation for user fields and started implementing them.