Test reporting with inheritance.