CLOUDIFY-2259 added test.