Bug: loading child records with belongsTo relationship doesn't update inverse hasMany

When loading child record containing a belongsTo relationship, its parent hasMany relationship should be updated to include the child record.

This commit introduces a failing test for this scenario