Add test to check relational fields
I got a support request from a developer who wrongly defined the fied/origin/target of xxx2Many fields. As it can be difficult to understand the first time, I think it will help developer to test that such fields are properly defined.