add test for nested belongsTo creation