Adding tests to multiple 1:M (hasMany) on the same model test to #2736
Adding fix to issue #2736