Added another regression test for the polymorphic feature