Inheritance test.