added inheritance tests