Add test for scoped ManyToMany