Added inheritanceTest.