CLOUDIFY-1593 Improve test assertion, does not always assume number of machine restarts == number of instance restart