Massively use the new consistency check in namemap regression tests, and fix an issue with library data tests revealed by those checks.
Massively use the new consistency check in namemap regression tests, and fix an issue with library data tests revealed by those checks.