Added inheritance test