Inherritance test