complete polymorphic relationship integration and testing