Add test for hasMany/through > hasOne