Extended Shapes tutorial with a test case to test polymorphism.