Add inheritanceTest.