LegalConfigTest: remove duplicate ID test

Duplicate IDs are tested much more thoroughly in v050.DuplicateIdTest.
NestedDependencyTest: remove overshadowing test

This phenomenon is dealt with in v050.DuplicateIdTest.
Cleanup

Accessing static members through class name.