test validations for parent