added static polymorphism test