Added tests for mixed embedded and non-embedded hasMany relationships