Better inheritance testing