CLOUDIFY-2079 fixed unit test