test for retrieving belongsTo relationships