basic polymorphism tested