CLOUDIFY-2426 modify test mock