CLOUDIFY-1473 fixed unit test