Add inheritance tests - once again thank you @stefanpenner