CLOUDIFY-2285 fixed assertion in test