Add inheritance tests