Not testing belongsTo with hasMany.
Simpler cache check.
Accessing primary key directly through attrs.
Added fetching relation for belongs to.