test validations work