Set up test to check inheritance method overriding.