CLOUDIFY-2265

fix unit test