Adding tests for user validations