re2ctest: add tests for is_dns_label
re2ctest: add tests for is_partition_name