CLOUDIFY-2433 changed test to use ctx.related instead of source and target properties in relationships