add test for reflexive belongsTo

For now it's a failing test for #2272