#6041 is a round-trip test through the builder for J.
Update it for all locales, and to use sort keys: ''For each locale, build a collator directly, and one from the rules. Verify with a monkey test that they produce exactly the same sort keys. (Make sure that the tests include multiple accents.)''
port it to C. Something similar. might already exist in C.