Added test validations for presence and uniqueness