CLOUDIFY-2523 fixed assertion in test