api: testing validations criterias