to test validations