Add tests for hasMany - belongsTo