Added some polymorphism tests.