The name of the function is somewhat misleading: it's name says "Confirm that VM has been created", and reviewer would expect it to change state from 'work' to 'created'. Did you mean 'created' state here?