Added test to check wrong constant names built from single inheritance keys