Added the ruby polymorphism test.