Add polymorphic many to many tests.