Added inheritance tests