CLOUDIFY-2370 added test for run with capture flag