Complete tests on inheritance