validations and tests for name presence and uniqueness