CLOUDIFY-1766 added test
CLOUDIFY-1766 added test
CLOUDIFY-1766 fixed test