Detect changes in many-to-many relationships and add tests