Testing loading entities with relations