tests: validate_unique