Repaired inherit test to use itself appropriately